<!--<style>-->
<!--    .layui-word-aux{-->
<!--        height: 36px;-->
<!--        line-height: 36px;-->
<!--        color: unset!important;-->
<!--    }-->
<!--</style>-->
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label">机器码</label>
            <div class="layui-input-block">
                <input type="text" name="token" class="layui-input"  placeholder="请输入机器码" value="{$row.token|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">有效期</label>
            <div class="layui-input-block">
                <input type="text" name="life" data-date="" data-date-type="date" class="layui-input"  placeholder="请输入有效期" value="{$row.life|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="checkbox" name="status" lay-skin="switch" lay-filter="status" lay-text="启用|禁用" value="{$row.status|default=''}" {if $row.status} checked{/if}>
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>